package bit.springblogdemo.common.exception;

import lombok.AllArgsConstructor;
import lombok.Data;


@AllArgsConstructor
@Data
public class BlogException extends RuntimeException {
    private int code;
    private String ErrMsg;

    public BlogException(String msg) {
        this.ErrMsg = msg;
    }


}
